@layout("/common/_container.html"){
<style>.btnBox{position:fixed;bottom:0;width:100%;padding:10px;background:#f1f1f1;text-align:center}.btnBox>button{margin:0;color:inherit;background:white;border:1px solid #999999;font-size:1em;text-align:center}.btnBox>button:first-of-type{background:#00a0ea;color:white;border:none;}.receptionThr{padding:10px 20px;}.receptionThr select{width:180px;height:28px;padding-left:10px;}.receptionThr > div span{display:inline-block;width:60px;}</style>
<div class="ibox float-e-margins">
    <div style="display: none">
        <input type="hidden" id="id" value="${customerInfo.id}">
        <input type="hidden" id="reservationsId" value="${customerInfo.reservationsId}">
        <input type="hidden" id="customerName" value="${customerInfo.customerName}">
        <input type="hidden" id="fieldTcValue" value="${customerInfo.fieldTc}">
        <input type="hidden" id="queryTcValue" value="${customerInfo.queryTc}">
        <input type="hidden" id="treatmentUnitValue" value="${customerInfo.treatmentUnit}">
    </div>
    <div>
        <div style="background: #00a0ea;color: white;padding: 5px 10px;">患者重咨</div>
        <div class="receptionThr">
            <div>
                <span>选择科室</span>
                <select name="treatmentUnit" id="treatmentUnit">
                    <option value="待定">待定</option>
                    @for(str in departmentList){
                    <option value="${str.department}">${str.department}</option>
                    @}
                </select>
            </div>
            <div style="margin: 15px 0 20px;">
                <span>选择TC</span>
                <select disabled="disabled" name="fieldTc" id="fieldTc">
                    <option value="待定TC">待定TC</option>
                    @for(str in tcList){
                    <option value="${str.tcName}">${str.tcName}</option>
                    @}
                </select>
            </div>
            <div>
                <textarea id="remarks" name="remarks" placeholder="备注" style="width: 99%;height: 70px;padding-left: 5px;"></textarea>
            </div>
        </div>
        <div class="btnBox">
            <button type="button" class="btn" id="ensure" onclick="addTcCustomerCZ()">提交</button>
            <button type="button" class="btn" id="cancel" onclick="parent.layer.close(parent.layer.getFrameIndex(window.name))">取消</button>
        </div>
    </div>
</div>
<script src="${ctxPath}/static/modular/arrival/customer/customer_receptionThr_tc.js?v=20200628"></script>
@}